DataSource for Entity Framework in WPF
C1.LiveLinq Namespace / IndexedQueryExtensions Class / GroupBy Method / GroupBy<TSource,TKey>(IIndexedSource<TSource>,Expression<Func<TSource,TKey>>) Method
The type of the elements of source.
The type of the key returned by keySelector.
An C1.LiveLinq.Indexing.IIndexedSource<T> whose elements to group
A function to extract the key for each element.

In This Topic
    GroupBy<TSource,TKey>(IIndexedSource<TSource>,Expression<Func<TSource,TKey>>) Method
    In This Topic
    Groups the elements of a collection according to a specified key selector function.
    Syntax

    Parameters

    source
    An C1.LiveLinq.Indexing.IIndexedSource<T> whose elements to group
    keySelector
    A function to extract the key for each element.

    Type Parameters

    TSource
    The type of the elements of source.
    TKey
    The type of the key returned by keySelector.

    Return Value

    A collection of IGrouping objects each containing a sequence of objects and a key.
    See Also